package com.situ.company.dao;

import java.util.List;

import com.situ.company.entity.User;
import com.situ.company.vo.UserInfoVO;

public interface IUserDao {
	public List<User> selectAll();

	public int deleteById(int id);

	public List<UserInfoVO> selectByPage(String name, int offset, int pageSize);

	public int selectTotalCount(String name);

	public User login(String name, String password);

	public int insert(User user);

	public User selectById(int id);

	public int update(User user);
}
